<template>
    <div class="wrapper">
        <div class="title">
            <div class="big">加盟设计师</div>
            <div class="small">JOIN DESIGNER</div>
        </div>
        <div class="row2">
            <div class="swiper-container">
                <div class="swiper-wrapper">
                    <div class="swiper-slide">
                        <ShopListItem></ShopListItem>
                    </div>
                    <div class="swiper-slide">
                        <ShopListItem></ShopListItem>
                    </div>
                    <div class="swiper-slide">
                        <ShopListItem></ShopListItem>
                    </div>
                </div>
            </div>

        </div>
    </div>
</template>
<script>
    import ShopListItem from '../../../components/shopListItem'

    export default {
        components: {ShopListItem},
        mounted() {
            var swiper = new Swiper('.swiper-container', {
                slidesPerView: 'auto',
                spaceBetween: 30,
            });
        },
    }
</script>
<style lang="less" scoped>
    .wrapper {

        .row2 {
            margin-left: px2rem(20);
            padding-bottom: 20px;
        }
        .swiper-slide {
            width: 90%;
        }
        .title {
            padding-top: px2rem(40);
            padding-bottom: px2rem(40);
            padding-left: px2rem(40);
            padding-right: px2rem(40);
            .big {
                font-size: 20px;
                color: #333;
            }
            .small {
                font-size: 12px;
                color: #ddd;
            }
        }
    }
</style>